<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/* 引入 Vant 组件库样式 */
	@import '/wxcomponents/vant/common/index.wxss';

	/* 全局样式配置 */
	page {
		--van-primary-color: #4B0082; /* 主题紫色 */
		--van-success-color: #07c160;
		--van-danger-color: #ee0a24;
		--van-warning-color: #ff976a;
		--van-info-color: #1989fa;
		--van-text-color: #323233;
		--van-text-color-2: #969799;
		--van-text-color-3: #c8c9cc;
		--van-border-color: #ebedf0;
		--van-background-color: #f7f8fa;
		--van-background-color-light: #fafafa;
	}

	/* 每个页面公共css */
	page {
		font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
			Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei',
			sans-serif;
		background-color: #f7f8fa;
	}
</style>